﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace LiveFrameworkExplorer.Plugins.LiveFxBrowser
{
    internal class NavEntry
    {
        public long contentLength;
        public string htmlBody;
        public string statusBarText;
        public Uri uri;
        public HttpWebRequest webRequest;
        public HttpWebResponse webResponse;
        public IAsyncResult webResponseAsyncResult;

        public NavEntry(Uri uri) : this(uri, null, string.Empty, string.Empty) { }
        public NavEntry(Uri uri, HttpWebRequest webRequest, string htmlBody, string statusBarText)
        {
            this.uri = uri;
            this.webRequest = webRequest;
            this.htmlBody = htmlBody;
            this.statusBarText = statusBarText;
        }
    }
}
